package com.star.uc.contract.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 手机号发送请求
 *
 * @author zhouhengzhe
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@EqualsAndHashCode(callSuper = true)
@Schema(description = "手机号发送请求")
public class  SmsSendRequest extends BaseRequest {

    @Schema(description = "手机号")
    private String phone;

    @Schema(description = "国际区号")
    private String countryCode;

    /**
     * 发生业务类型
     *
     * @see com.star.uc.contract.enums.SendBizTypeEnum
     */
    @Schema(description = "发送业务类型")
    @NotBlank(message = "发生业务类型不能为空")
    private String sendType;
}
